QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    SevenZHelper.cpp \
    compressWindow.cpp \
    main.cpp \
    mainwindow.cpp \
    progressbar.cpp \
    sevenztype.cpp \
    toolthread.cpp

HEADERS += \
    SevenZHelper.hpp \
    compressWindow.h \
    include/bit7z.hpp \
    include/bit7zlibrary.hpp \
    include/bitarchivecreator.hpp \
    include/bitarchivehandler.hpp \
    include/bitarchiveinfo.hpp \
    include/bitarchiveitem.hpp \
    include/bitarchiveopener.hpp \
    include/bitcompressionlevel.hpp \
    include/bitcompressionmethod.hpp \
    include/bitcompressor.hpp \
    include/bitexception.hpp \
    include/bitextractor.hpp \
    include/bitformat.hpp \
    include/bitguids.hpp \
    include/bitinputarchive.hpp \
    include/bitmemcompressor.hpp \
    include/bitmemextractor.hpp \
    include/bitpropvariant.hpp \
    include/bitstreamcompressor.hpp \
    include/bitstreamextractor.hpp \
    include/bittypes.hpp \
    include/bufferextractcallback.hpp \
    include/bufferupdatecallback.hpp \
    include/callback.hpp \
    include/cbufoutstream.hpp \
    include/cmultivoloutstream.hpp \
    include/cstdinstream.hpp \
    include/cstdoutstream.hpp \
    include/extractcallback.hpp \
    include/fileextractcallback.hpp \
    include/fileupdatecallback.hpp \
    include/fsindexer.hpp \
    include/fsitem.hpp \
    include/fsutil.hpp \
    include/opencallback.hpp \
    include/streamextractcallback.hpp \
    include/streamupdatecallback.hpp \
    include/updatecallback.hpp \
    mainwindow.h \
    progressbar.h \
    sevenztype.h \
    toolthread.h

FORMS +=

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/./ -lbit7z64
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/./ -lbit7z64d

INCLUDEPATH += $$PWD/.
DEPENDPATH += $$PWD/.

win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/./libbit7z64.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/./libbit7z64d.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/./bit7z64.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/./bit7z64d.lib

RESOURCES +=

